{template "header.html", "/"}

<div class="page-container">
    <div class="page-content-wrapper">
        <div class="page-content">
            <div class="container">

                <ul class="page-breadcrumb breadcrumb">
                    <li><a href="{SITE_URL}">首页</a><i class="fa fa-angle-right"></i></li>
                    {if defined('IS_SHARE') && !IS_SHARE}
                    <li><a href="{MODULE_URL}">{MODULE_NAME}</a><i class="fa fa-angle-right"></i></li>
                    {/if}
                    {dr_catpos($catid, '', 1, '<li><a href="{url}">{name}</a><i class="fa fa-angle-right"></i></li>'.PHP_EOL)}
                    <li> <span>频道</span></li>
                </ul>

                <div class="note note-danger">
                    <h4 class="block">功能演示模块用于自定义字段演示调用</h4>
                    <p> 开发者可以参考本模块的模板页面调用标签语法，自定义字段输出语法等 </p>
                </div>
                <a href="/index.php?s=demo&c=search" class="btn default btn-block margin-bottom-30"> 搜索筛选功能展示 </a>

                {category pid=$catid return=c}
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">{$c.name}</h3>
                    </div>
                    <div class="panel-body">
                        <ul class="news-list">
                            <!--分页显示列表数据-->
                            {module catid=$catid num=5}
                            <li>
                                <div class="pic"><a href="{$t.url}"><img src="{dr_thumb($t.thumb)}"></a></div>
                                <div class="con">
                                    <h5><a href="{$t.url}">{dr_strcut($t.title, 30)}</a></h5>
                                    <p>{dr_strcut($t.description, 130)}</p>
                                    <dl class="clearfix">
                                        <dt class="time">{$t.updatetime}</dt>
                                        <dd class="browse"><i class="fa fa-eye"></i> {$t.hits}</dd>
                                    </dl>
                                </div>
                            </li>
                            {/module}
                        </ul>
                    </div>
                </div>
                {/category}


            </div>
        </div>
    </div>
</div>

{template "footer.html", "/"}